-
Home
-
WooCommerce Blocks
-
11.7.0 (latest)
-
Code
-
Classes
- AbstractCartRoute
Total Complexity |
28 |
Dependencies |
13 |
Dependents |
0 |
Total lines |
327 |
Lines of code |
130 |
Logical lines of code |
65 |
Comment lines |
147 |
Methods |
12 |
Properties |
5 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_response() |
A |
52 |
8 |
25 |
check_nonce() |
S |
54 |
6 |
20 |
load_cart_session() |
S |
62 |
3 |
12 |
get_route_error_response() |
S |
57 |
2 |
18 |
cart_updated() |
S |
59 |
2 |
17 |
__construct() |
S |
68 |
1 |
7 |
is_update_request() |
S |
77 |
1 |
3 |
add_response_headers() |
S |
65 |
1 |
9 |
get_cart_token() |
S |
65 |
1 |
10 |
get_cart_token_secret() |
S |
80 |
1 |
3 |
get_cart_token_expiration() |
S |
77 |
1 |
3 |
requires_nonce() |
S |
80 |
1 |
3 |